import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import axios from 'axios'
import 'element-ui/lib/theme-chalk/index.css';



Vue.config.productionTip = false
Vue.use(ElementUI);

//配置请求路径
axios.defaults.baseURL =  window.path.baseURL


Vue.prototype.$http= axios

// const instance = axios.create({
//   baseURL: 'http://localhost:8999/',
//   timeout: 1000
// });


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
